@layout("/common/head.html"){
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>表单</legend>
</fieldset>
<form class="layui-form" action="">
    <#input inputName="角色名称" id="name" name="name" required="required"/>
    <#input inputName="角色标识" id="keyword" name="keyword"/>
    <#select selectName="角色状态" id="status" name="status" list="${roleEnum}" optionName="name" optionValue="code" required="required" />
    <#input inputName="菜单排序" id="sort" name="sort" />
    <#button btName="添加角色" filter="add"/>
</form>
<script src="${ctxPath}/static/modules/sys/role/add.js"></script>
</body>
@}